import { createApp } from 'vue'
import App from './App.vue'
import pinia from './pinia' // 状态管理器
import router from '@/router' // 状态管理器
// import DataV from '@/utils/datav';
// import * as echarts from 'echarts'// echarts
//这个版本的datav需要更改node_modules中的datav-vue3下的package.json中的"module": "./es/index.mjs",
// import * as DataV from '@dataview/datav-vue3';
import '@/global.scss';
import 'normalize.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

// vue使用DataV
// app.use(DataV);

const APP = createApp(App)
APP.use(pinia)
APP.use(router)
// APP.use(echarts)
// APP.use(DataV)
APP.use(ElementPlus, {
    locale: zhCn,
  })
APP.mount('#app')

